import request from '@/utils/request'
export default{    
    //查询所有课程
    getAllCourse(page,limit,searchObj){
        return request({
            url:  `/eduservice/frontCourse/getCourseFrontList/${page}/${limit}`,
            method:'post',
            data:searchObj
            })
    },
    //查询所有课程分类
    getSubjectInfo(){
        return request({
            url: `/eduservice/subject/getAllSubject`,
            method:'get',
            })
    },
        //查课程纤细信息
    getCourseInfo(courseId){
        return request({
            url: `/eduservice/frontCourse/getCourseFrontInfo/${courseId}`,
            method:'post',
    })
    }
        



}
